<div id="titulo">Editar Estatus</div>
	<?php echo form_open_multipart('estatus/save', array('name' => 'estatus','id' => 'commentForm'));?>
	<input type="hidden" name="id_estatus" id="id_estatus" value="<?php echo $estatus->getIdEstatus() ?>" />
    <table class="tablaform" width="100%" border="0">
		<tr>
			<td><b>Nombre:</b> </td>
			<td><input type="text" name="name" class="required" id="name" maxlength="100" size="40" value="<?php echo set_value('name', $estatus->getNombre())
	?>" /><?php echo form_error('name') ?></td>
		</tr>

		<tr>
			<td><b>Descripcion: </b> </td>
			<td>
			<input type="text" id="desc" class="required" name="desc" value="
			<?php echo set_value('desc', $estatus->getDesc())?>"/>
			
			</td>
		</tr>
		
		  <tr>
			<td><b>Dias:</b> </td>
			<td><input type="text" name="dias" class="required" id="dias" maxlength="3" size="5" value="<?php echo set_value('dias') ?>" /><?php echo form_error('dias') ?></td>
		</tr>
		
		<tr><td colspan="2"><hr /></td></tr>
		<tr><td><input type="submit" value="Guardar" /></td>
		    <td><a href="<?php echo site_url().'/estatus' ?>"><input type="button" value="Atras" align="center"/></a></td>
		</tr>
	</table>
</form>